package com.ruoyi.chatgpt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 目录配置对象 gpt_catalog_config
 * 
 * @author ruoyi
 * @date 2023-06-30
 */
public class GptCatalogConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 目录名称ID */
    @Excel(name = "目录名称ID")
    private Long catalogId;

    /** key */
    @Excel(name = "key")
    private String key;

    /** 展示名称 */
    @Excel(name = "展示名称")
    private String showName;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 下拉值 */
    @Excel(name = "下拉值")
    private String options;

    /** 最大长度 */
    @Excel(name = "最大长度")
    private Integer maxLen;

    /** 占位符 */
    @Excel(name = "占位符")
    private String placeholder;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCatalogId(Long catalogId) 
    {
        this.catalogId = catalogId;
    }

    public Long getCatalogId() 
    {
        return catalogId;
    }
    public void setKey(String key) 
    {
        this.key = key;
    }

    public String getKey() 
    {
        return key;
    }
    public void setShowName(String showName) 
    {
        this.showName = showName;
    }

    public String getShowName() 
    {
        return showName;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setOptions(String options) 
    {
        this.options = options;
    }

    public String getOptions() 
    {
        return options;
    }
    public void setMaxLen(Integer maxLen) 
    {
        this.maxLen = maxLen;
    }

    public Integer getMaxLen() 
    {
        return maxLen;
    }
    public void setPlaceholder(String placeholder) 
    {
        this.placeholder = placeholder;
    }

    public String getPlaceholder() 
    {
        return placeholder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("catalogId", getCatalogId())
            .append("key", getKey())
            .append("showName", getShowName())
            .append("type", getType())
            .append("options", getOptions())
            .append("maxLen", getMaxLen())
            .append("placeholder", getPlaceholder())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
